package view.drawing;

import java.util.HashMap;
import java.util.Map;

public class SpriteSheetSet {
	
	private Map<String, SpriteSheet> mSheets;
	
	public SpriteSheetSet() {
		mSheets = new HashMap<String, SpriteSheet>();
	}
	
	public boolean addSpriteSheet(String state, SpriteSheet sheet) {
		return (mSheets.put(state, sheet) != null);
	}
	
	public SpriteSheet removeSpriteSheet(String state) {
		return (mSheets.remove(state));
	}
	
	public SpriteSheet getSpriteSheet(String state) {
		return (mSheets.get(state));
	}
	

}
